package com.zoro.dyformservice.support.filter.auth;

import java.io.Serial;
import java.io.Serializable;

/**
 * 当前登陆人
 */
public class LoginUser implements Serializable {
    @Serial
    private static final long serialVersionUID = 100844277271044714L;
    private final String id;
    private final String account;
    private final String userName;

    public LoginUser(String id, String account, String userName) {
        this.id = id;
        this.account = account;
        this.userName = userName;
    }

    public String getId() {
        return id;
    }


    public String getAccount() {
        return account;
    }


    public String getUserName() {
        return userName;
    }


    @Override
    public String toString() {
        return "LoginUser{" +
                "id='" + id + '\'' +
                ", account='" + account + '\'' +
                ", userName='" + userName + '\'' +
                '}';
    }
}
